package com.qire.manhua.model.vo;

import com.qire.antsbinder.viewModel.AntsViewModel;
import com.qire.common.support.base.BaseVO;
import com.qire.manhua.model.entity.ShareInfo;

public class InviteFriendsDataVO extends BaseVO {

    public String cardImg;      //: "https://res.qiremanhua.com/card/2/card_10002_2-qiremanhua.com.png",
    public String faceQrImg;    //: "https://res.qiremanhua.com/card/qrcode/2/qr_10002_1-qiremanhua.com.png",
    public String title;        //: "set-share-title",
    public String desc;         //: "set-share-desc",
    public String link;         //: "https://m.qiremanhua.com/f/10002?r=share",
    public String img;          //: "https://res.qiremanhua.com/wap_v3/images/qiremhlogo.png?r=set-share-img"

    @Override
    public void updateModel(AntsViewModel viewModel) {

        viewModel.set("postersImgUrl", cardImg);
        viewModel.set("faceQrImg", faceQrImg);
        viewModel.set("shareInfo", new ShareInfo(title, desc, img, link));

    }
}
